onEvent('recipes', (event) => {
    let list_1 = [
        {
            output: 'kubejs:party_1_ingot',
            input: [
                Fluid.of('minecraft:lava', 1000),
                '16x emendatusenigmatica:bronze_plate',
                '4x astralsorcery:aquamarine',
                '4x tconstruct:seared_brick',
                '2x kubejs:coarse_crystal_ingot',
                '8x minecraft:glass'
            ]
        },


    ]

    let list_2 = [
        {
            output: '2x kubejs:party_1_ingot',
            input: [
                Fluid.of('minecraft:lava', 1000),
                '16x emendatusenigmatica:bronze_plate',
                '4x astralsorcery:aquamarine',
                '4x tconstruct:seared_brick',
                '2x kubejs:coarse_crystal_ingot',
                '4x tconstruct:clear_glass',
            ]
        },
        {
            output: '2x kubejs:party_2_ingot',
            input: [
                Fluid.of('tconstruct:molten_emerald', 1000),
                'kubejs:party_1_ingot',
                '2x pneumaticcraft:printed_circuit_board',
                '4x quark:blaze_lantern',
                '8x minecraft:lapis_lazuli',
                '16x emendatusenigmatica:cast_iron_plate'
            ],
        },
        {
            output: '2x kubejs:party_3_ingot',
            input: [
                Fluid.of('tconstruct:molten_enderium', 1000),
                'kubejs:party_2_ingot',
                '2x immersiveengineering:ingot_hop_graphite',
                '4x refinedstorage:advanced_processor',
                '8x thermal:tar',
                '16x refinedstorage:quartz_enriched_iron'
            ],
        },
    ]

    let list_3 = [
        {
            output: '4x kubejs:party_1_ingot',
            input: [
                Fluid.of('minecraft:lava', 1000),
                '4x emendatusenigmatica:bronze_plate',
                '2x astralsorcery:aquamarine',
                '2x tconstruct:seared_brick',
                '1x kubejs:coarse_crystal_ingot',
                '1x thermal:obsidian_glass'
            ]
        },
        {
            output: '4x kubejs:party_2_ingot',
            input: [
                Fluid.of('tconstruct:molten_emerald', 1000),
                'kubejs:party_1_ingot',
                'pneumaticcraft:printed_circuit_board',
                '2x quark:blaze_lantern',
                '2x emendatusenigmatica:lapis_gear',
                '16x emendatusenigmatica:cast_iron_plate'
            ],
        },
        {
            output: '4x kubejs:party_3_ingot',
            input: [
                Fluid.of('tconstruct:molten_enderium', 1000),
                'kubejs:party_2_ingot',
                '2x immersiveengineering:ingot_hop_graphite',
                '4x refinedstorage:construction_core',
                '8x thermal:tar',
                '16x refinedstorage:quartz_enriched_iron'
            ],
        },
        {
            output: '2x kubejs:party_4_ingot',
            input: [
                Fluid.of('minecraft:water', 1000),
                'kubejs:party_3_ingot',
                'mekanism:pellet_antimatter',
                '2x mekanism:alloy_atomic',
                '8x minecraft:oak_log',
                '16x minecraft:oak_leaves'
            ],
        },
    ]


    list_1.forEach((i) => {
        event.recipes.custommachinery.custom_machine("custommachinery:assembly_machine", 400)
            .requireFluid(i.input[0])
            .requireItem(i.input[1])
            .requireItem(i.input[2])
            .requireItem(i.input[3])
            .requireItem(i.input[4])
            .requireItem(i.input[5])
            .produceItem(i.output)
    })

    list_2.forEach((i) => {
        event.recipes.custommachinery.custom_machine("custommachinery:assembly_machine", 400)
            .requireFluid(i.input[0])
            .requireItem(i.input[1])
            .requireItem(i.input[2])
            .requireItem(i.input[3])
            .requireItem(i.input[4])
            .requireItem(i.input[5])
            .requireItem('16x minecraft:blaze_powder')
            .requireStructure([["m"], ["a"]], { "a": 'create:blaze_burner' })
            .produceItem(i.output)
    })

    list_3.forEach((i) => {
        event.recipes.custommachinery.custom_machine("custommachinery:assembly_machine", 400)
            .requireFluid(i.input[0])
            .requireItem(i.input[1])
            .requireItem(i.input[2])
            .requireItem(i.input[3])
            .requireItem(i.input[4])
            .requireItem(i.input[5])
            .requireItem('create:blaze_cake')
            .requireStructure([["m"], ["a"]], { "a": 'create:blaze_burner' })
            .produceItem(i.output)
    })


    /**
     *  {
            output: ['kubejs:create_ingot'],
            input: [
                Fluid.of('kubejs:chaotic_liquid', 250),
                'kubejs:party_1_ingot',
                'kubejs:party_2_ingot',
                'kubejs:party_3_ingot',
                'kubejs:party_4_ingot',
            ],
        },
     */
    let list_create = [
        {
            output: 'kubejs:create_ingot',
            input: [
                Fluid.of('kubejs:chaotic_liquid', 250),
                'kubejs:party_1_ingot',
                'kubejs:party_2_ingot',
                'kubejs:party_3_ingot',
                'kubejs:party_4_ingot',
            ],
        },
    ]
    list_create.forEach((i) => {
        event.recipes.custommachinery.custom_machine("custommachinery:assembly_machine", 400)
            .requireFluid(i.input[0])
            .requireItem(i.input[1])
            .requireItem(i.input[2])
            .requireItem(i.input[3])
            .requireItem(i.input[4])
            // .requireStructure([["m"], ["a"]], { "a": "mekanism:antiprotonic_nucleosynthesizer" })
            .produceItem(i.output)
    })


});